<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>这是b页面</title>
	</head>
	<body>
	    <div>这是b页面，a页面内容已经被修改，请切换窗口回到a页面查看</div>
	    <script type="text/javascript">
	        var createDiv = document.createElement("div");
	        createDiv.innerHTML="这是在b页面添加的内容";
	    	window.opener.document.body.appendChild(createDiv);
//	    	window.opener.location = "https://www.baidu.com"
	    </script>
	</body>
</html>
